\hypertarget{class_parser}{
\subsection{Parser Class Reference}
\label{class_parser}\index{Parser@{Parser}}
}
The \hyperlink{class_parser}{Parser} for the PL language.  


{\tt \#include $<$Parser.h$>$}

Collaboration diagram for Parser:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{class_parser__coll__graph}
\end{center}
\end{figure}
\subsubsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hyperlink{class_parser_b87cbb31bc578cdf018f25952d5fb441}{Parser} (\hyperlink{class_scanner}{Scanner} $\ast$\_\-scanner, \hyperlink{class_administration}{Administration} $\ast$\_\-admin, \hyperlink{class_symbol_table}{SymbolTable} $\ast$\_\-symTable)
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item 
\hypertarget{class_parser_e3edacf9728af955f003944c00905366}{
void \hyperlink{class_parser_e3edacf9728af955f003944c00905366}{start} ()}
\label{class_parser_e3edacf9728af955f003944c00905366}

\begin{CompactList}\small\item\em Start the \hyperlink{class_parser}{Parser}. \item\end{CompactList}\item 
void \hyperlink{class_parser_3b47e2a8657b35bb6b8ddd181d2de198}{sync} (\hyperlink{class_p_lset}{PLset} $\ast$syncSet)
\begin{CompactList}\small\item\em Sync input. \item\end{CompactList}\item 
int \hyperlink{class_parser_7ea485a9d4688522a4a93bca27cd4123}{getNumericValue} (\hyperlink{class_word}{Word} $\ast$w)
\begin{CompactList}\small\item\em Get \hyperlink{class_numeric}{Numeric} Value Get the numeric value (bool or integer) from a word. \item\end{CompactList}\end{CompactItemize}


\subsubsection{Detailed Description}
The \hyperlink{class_parser}{Parser} for the PL language. 

\subsubsection{Constructor \& Destructor Documentation}
\hypertarget{class_parser_b87cbb31bc578cdf018f25952d5fb441}{
\index{Parser@{Parser}!Parser@{Parser}}
\index{Parser@{Parser}!Parser@{Parser}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}Parser::Parser ({\bf Scanner} $\ast$ {\em \_\-scanner}, {\bf Administration} $\ast$ {\em \_\-admin}, {\bf SymbolTable} $\ast$ {\em \_\-symTable})}\hfill}
\label{class_parser_b87cbb31bc578cdf018f25952d5fb441}


Constructor. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em \_\-scanner}]The scanner that retrieves Tokens \item[{\em \_\-admin}]The administration class that handles errors \item[{\em \_\-symTable}]The \hyperlink{class_symbol_table}{SymbolTable} class that stores Tokens \end{description}
\end{Desc}


\subsubsection{Member Function Documentation}
\hypertarget{class_parser_3b47e2a8657b35bb6b8ddd181d2de198}{
\index{Parser@{Parser}!sync@{sync}}
\index{sync@{sync}!Parser@{Parser}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}void Parser::sync ({\bf PLset} $\ast$ {\em syncSet})}\hfill}
\label{class_parser_3b47e2a8657b35bb6b8ddd181d2de198}


Sync input. 

Sync according to the Sync set \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em syncSet}]The set to sync the input to \end{description}
\end{Desc}
\hypertarget{class_parser_7ea485a9d4688522a4a93bca27cd4123}{
\index{Parser@{Parser}!getNumericValue@{getNumericValue}}
\index{getNumericValue@{getNumericValue}!Parser@{Parser}}
\paragraph{\setlength{\rightskip}{0pt plus 5cm}int Parser::getNumericValue ({\bf Word} $\ast$ {\em w})}\hfill}
\label{class_parser_7ea485a9d4688522a4a93bca27cd4123}


Get \hyperlink{class_numeric}{Numeric} Value Get the numeric value (bool or integer) from a word. 

Used to get the array size or return the value of a constant. If word is an constant name, then w will be modified to the what constant name pointed to. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em w}]The word to get the numeric value from \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The integer (numeric value) \end{Desc}
